import java.awt.Point;

public class FPTest
{
	public static void main(String[] argv)
	{

		FixedPoint fp = new FixedPoint(3, 4);
		FixedPoint2 fp2 = new FixedPoint2(10, 10);
		System.out.println(fp.getX());
		System.out.println(fp2.getX());
		Point loc = fp.getLocation();
		Point loc2 = fp2.getLocation();
		loc.x = 5;
		loc2.x = 20;
		System.out.println(fp.getX());
		System.out.println(fp2.getX());

	}
}

